package com.iwayin.core.dataobject;

import java.io.Serializable;
import java.util.Date;

import com.iwayin.core.utils.PageInfo;

@SuppressWarnings("serial")
public class CommentDO extends PageInfo implements Serializable{
	private Long id;
	private Long askId ; //问题id
	private Long questionUid ;//问题用户Id
	private Long userId ;//评论用户Id
	private String commentBody ;//评论内容
	private Integer status ;//评论状态
	private Date createTime ;//评论时间
	private Date updateTime ;//评论修改时间
	private Long dittoCount;//同上个数
	//以下非持久化属性
	private String nickname ;//用户昵称
	private String avatarPath ;// 用户头像
	private String commentUserName;
	private Long commentCountToday;
	private String historyInfo;
	public boolean isLikeComment=false;
	private Long loginUserId;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getAskId() {
		return askId;
	}
	public void setAskId(Long askId) {
		this.askId = askId;
	}
	public Long getQuestionUid() {
		return questionUid;
	}
	public void setQuestionUid(Long questionUid) {
		this.questionUid = questionUid;
	}
	
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public String getCommentBody() {
		return commentBody;
	}
	public void setCommentBody(String commentBody) {
		this.commentBody = commentBody;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getAvatarPath() {
		return avatarPath;
	}
	public void setAvatarPath(String avatarPath) {
		this.avatarPath = avatarPath;
	}
	public Long getCommentCountToday() {
		return commentCountToday;
	}
	public void setCommentCountToday(Long commentCountToday) {
		this.commentCountToday = commentCountToday;
	}
	public String getCommentUserName() {
		return commentUserName;
	}
	public void setCommentUserName(String commentUserName) {
		this.commentUserName = commentUserName;
	}
	public Long getDittoCount() {
		return dittoCount;
	}
	public void setDittoCount(Long dittoCount) {
		this.dittoCount = dittoCount;
	}
	public String getHistoryInfo() {
		return historyInfo;
	}
	public void setHistoryInfo(String historyInfo) {
		this.historyInfo = historyInfo;
	}
	public boolean getIsLikeComment() {
		return isLikeComment;
	}
	public void setLikeComment(boolean isLikeComment) {
		this.isLikeComment = isLikeComment;
	}
	public Long getLoginUserId() {
		return loginUserId;
	}
	public void setLoginUserId(Long loginUserId) {
		this.loginUserId = loginUserId;
	}
	
}
